aux_source_directory (base BASE_DIR)
aux_source_directory (net NET_DIR)
aux_source_directory (MyRpc RPC_DIR)

include_directories (.)

add_library (MyRpc STATIC ${BASE_DIR} ${NET_DIR} ${RPC_DIR})

target_link_libraries(MyRpc pthread)
target_link_libraries(MyRpc jsoncpp)
target_link_libraries(MyRpc profiler)

add_subdirectory(user)